package friot.service.cloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import friot.model.iot.entity.ContactProductModel;
import friot.model.iot.entity.IotModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (ContactProductModel)表数据库访问层
 *
 * @author makejava
 * @since 2024-02-21 15:51:00
 */
public interface ContactProductModelMapper extends BaseMapper<ContactProductModel> {

    /**
     * 查询绑定的模型
     *
     * @param productId 产品id
     * @return 绑定的模型集合
     */
    List<IotModel> listBindModels(@Param("productId") Integer productId);
}

